TARGET=test 
$(TARGET): *.cpp
	g++ $^ -o $@             \
		-levent_pthreads -levent \
		-lpthread                \
		-std=c++11
clean:
	rm -rf $(TARGET)
	rm -rf *.o
